-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tweak table block placeholder with __next40pxDefaultSize props #56935
Conversation
Size Change: -114 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
Flaky tests detected in ec0dde8. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/7162888193
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice simplification, thank you.
Part of #46741
What?
This PR introduces
__next40pxDefaultSize
prop to the placeholder input of the Table block to unify the layout.Why?
As part of an attempt to standardize the default size of components to 40px in the future.
How?
Added
__next40pxDefaultSize
prop to TextControl and Button components. At the same time, I applied gaps to the flex layout and removed many placeholder styles that were no longer needed.Testing Instructions
Screenshots or screencast
For better visual clarity, I have also included the standardized RSS block as part of #53819.
Desktop view
Before
After
Mobile view
Before
After